<body style="height: 100%;">
<input type="hidden" th:value="${mould.id}" id="mouldId"/>
<div class="easyui-panel" style="width:96%;border:none;margin-top: 10px;text-align: center;">
    <form id="mouldDetailForm" method="post">
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="mouldNo" style="width:90%" data-options="label:'模具编号:',readonly:true" th:value="${mould.mouldNo}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="mouldColor" style="width:90%" data-options="label:'模具颜色:',readonly:true" th:value="${mould.mouldColor}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="mouldName" style="width:90%" data-options="label:'模具名称:',readonly:true" th:value="${mould.mouldName}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="spec" style="width:90%" data-options="label:'模具规格:',readonly:true" th:value="${mould.spec}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="modelNo" style="width:90%" data-options="label:'模具型号:'" th:value="${mould.modelNo}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="material" style="width:90%" data-options="label:'模具材质:',readonly:true" th:value="${mould.material}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="mouldClz" style="width:90%" data-options="label:'模具分类:',readonly:true" th:value="${mould.mouldClz}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="scope" style="width:90%" data-options="label:'适用范围:',readonly:true" th:value="${mould.scope}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="remark" style="width:90%" data-options="label:'备注信息:',readonly:true" th:value="${mould.remark}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="entryNickname" style="width:90%" data-options="label:'创建人:',readonly:true" th:value="${mould.entryNickname}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="entryTime" style="width:90%" data-options="label:'创建时间:',readonly:true" th:value="${#dates.format(mould.entryTime, 'yyyy年MM月dd日 HH时mm分ss秒')}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="updateNickname" style="width:90%" data-options="label:'修改人:',readonly:true" th:value="${mould.updateNickname}"/>
        </div>
        <div style="margin-bottom:2px">
            <input class="easyui-textbox" name="updateTime" style="width:90%" data-options="label:'修改时间:',readonly:true" th:value="${#dates.format(mould.updateTime, 'yyyy年MM月dd日 HH时mm分ss秒')}"/>
        </div>
        <div id="viewPicDiv" style="margin-left:35px;" th:if="${mould.picAddr != '' && mould.picAddr != null}">
            <a class="fancybox" href="javascript:void(0)"
               th:onclick="showMe([[${mould.picAddr}]])"
               data-fancybox-group="gallery" th:title="${mould.mouldName}">
            <img th:src="${mould.picAddr}" id="viewPic" width="160px" height="160px"/>
            </a>
        </div>
        <!--<c:if test="${mould.picAddr != null and mould.picAddr != ''}">
            <div id="viewPicDiv" style="margin-left:80px;">
                <img src="${mould.picAddr}" id="viewPic" width="100px" height="100px"/>
            </div>
        </c:if>-->
    </form>
    <div style="text-align:center;padding:5px 0">
        <a href="javascript:void(0)" class="easyui-linkbutton" id="close" style="width:80px" iconCls="icon-clear">关闭</a>
    </div>
</div>
<div id="dlg1" class="easyui-dialog" style="padding:3px 3px;width:80%;"
     data-options="inline:true,modal:true,closed:true,title:'模具图示'">
    <p style="text-align: center">
        <img src="#" id="myImg" width="250px" height="250px"/>
    </p>
    <div class="dialog-button">
        <a href="javascript:void(0)" class="easyui-linkbutton"
           style="width:100%;height:35px" onclick="$('#dlg1').dialog('close')">关闭</a>
    </div>
</div>
</body>